home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gCD_Root, gPath, gDelim, gNewQnList, gSubj, gStart
- if the machineType = 256 then
- set gDelim to "\"
- else
- set gDelim to ":"
- end if
- set gCD_Root to the pathName
- set gPath to the pathName
- set gStart to 1
- set gNewQnList to [:]
- case gSubj of
- "G", "M":
- go(gSubj)
- otherwise:
- go(1)
- end case
- end
-
- on RunTest
- global gTestList, gCursor, gCD_Root, gDelim
- JumbleTest()
- go(1, gCD_Root & "tester")
- end
-
- on JumbleTest
- global gTestList
- set holdlist to gTestList
- set gTestList to [:]
- set num to count(holdlist)
- repeat with i = 1 to num
- set thisone to random(count(holdlist))
- set thisprop to getPropAt(holdlist, thisone)
- set thisval to getAt(holdlist, thisone)
- deleteAt(holdlist, thisone)
- addProp(gTestList, thisprop, thisval)
- end repeat
- end
-